thodg/totp-rs/src/secret.rs

Branch :


Log

Author Commit Date CI Message
26416df2 2022-08-13 11:23:03 Fix totp_url export * base32 unexported * Secret comparison is now constant_time
b6295ae8 2022-08-09 11:13:55 Fix doc tests Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
0103e7a6 2022-08-09 11:04:11 Add test to secret.rs Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
3d61027d 2022-08-08 20:19:04 Change Secret: Plain to Raw & Base32 to Encoded
f65a2e84 2022-08-06 23:04:50 add `Secret` enum & `gen_secret` feature - Make the distinction between encoded/non-encoded secret clear, and allows for easy transformation betwen the two formats - add `gen_secret` feature to allow easy generation of CSPRNG secret, also add function to generate rfc recommended length secret