Closed amirhossein-fzl closed 1 year ago
By encrypt
if you are referring to the encryption functions of this crate, the output is Vec<u8>
that might or might not be a string.
By
encrypt
if you are referring to the encryption functions of this crate, the output isVec<u8>
that might or might not be a string.
So what's the point of this? When I can't store this password in the database, for example ...
You can store binary bytes into most databases. Don't have to convert into a string.
How can I convert encrypt to string? I write the following code, it gives this error...
error:
Err(Utf8Error { valid_up_to: 0, error_len: Some(1) })