examples/gen_secret.rs


Log

Author Commit Date CI Message
constantoine 0f0e7d60 2022-10-05T11:55:37 Cargo fmt Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine cd903afb 2022-08-09T11:05:36 Make otpauth fields only appear with otpauth feature Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Steven Salaun 3d61027d 2022-08-08T20:19:04 Change Secret: Plain to Raw & Base32 to Encoded
Steven Salaun f65a2e84 2022-08-06T23: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