Skip to content
Snippets Groups Projects
Commit e73f2551 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ringaccount: use base36 PIN for archive export

* Use base36 [0-9A-Z] instead of base16 (hex)
  for PIN generation.
  This increase the number of combinations from
  2^32 to ~2^41.36, an increase of ~9.36 bits.
  This increase should offset the entropy loss
  due to the optional password.
* Use random_device directly instead of the
  account (seeded) pseudo-generator because the PIN
  should have cryptographic-level randomness.

Change-Id: I00169f5d08f6794329a9e9e22b7173a0a6ef9ef4
parent c0f33bab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment