Cargo Features

[dependencies]
srp6 = { version = "1.0.0-beta.1", default-features = false, features = ["hash-sha512", "hash-sha1", "dangerous", "wow", "test-rfc-5054-appendix-b"] }
default = hash-sha512

The hash-sha512 feature is set by default whenever srp6 is added without default-features = false somewhere in the dependency tree.

hash-sha512 default

Enables sha2

hash-sha1 dangerous? test-rfc-5054-appendix-b?

Enables sha1

dangerous wow? = hash-sha1

Affects srp6::dangerous

wow = dangerous

Affects primitives::calculate_p_hash, primitives::calculate_k

test-rfc-5054-appendix-b = hash-sha1