Switch to standard base64
The exact format is unimportant, what matters is that the nonce contains enough entropy. Crypt64 was originally chosen because it was used elsewhere. Raw bytes would also work, but would be less readable if inspected manually.
This commit is contained in:
parent
9932ed0999
commit
4e11f6b46f
1 changed files with 1 additions and 1 deletions
|
@ -68,6 +68,6 @@ std::string user_handler::create_secure_nonce()
|
|||
throw RAND_bytes_exception();
|
||||
}
|
||||
|
||||
return crypt64::encode({buf.data(), buf.size()});
|
||||
return base64::encode({buf.data(), buf.size()});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue