summaryrefslogtreecommitdiff
path: root/rand/src/rngs/mod.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-06 00:16:59 +0100
committerDaniel Mueller <deso@posteo.net>2019-01-13 18:37:02 -0800
commit38e7e1d92ce4aea7840d78bcda6246bd61c423ac (patch)
treefa8a9be8fa32a995e11822fceb474532f2f915f5 /rand/src/rngs/mod.rs
parent53a2893ee725e4ad678b2060fd71729ff55e6cee (diff)
downloadnitrocli-38e7e1d92ce4aea7840d78bcda6246bd61c423ac.tar.gz
nitrocli-38e7e1d92ce4aea7840d78bcda6246bd61c423ac.tar.bz2
Refactor prepare_secret function
This patch refactors the prepare_secret function by renaming it to prepare_ascii_secret and by moving the formatting of a bytes slice as a hex string into the format_bytes function. This prepares for adding a the base32 format in a future patch.
Diffstat (limited to 'rand/src/rngs/mod.rs')
0 files changed, 0 insertions, 0 deletions