Skip to content

Breaking changes in v0.9.0 changing from UByteArray to String #40

Answered by ionspin
ShreckYe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ShreckYe ,

You are right, it is more natural to work with UByteArray, but the underlying libsodium function crypto_pwhash_str for PasswordHash.str() returns a ASCII encoded string and I was previously incorrectly returning a UByteArray representation of that string not the real unencoded UByteArray of a hash, which was misleading.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ShreckYe
Comment options

@ShreckYe
Comment options

@ionspin
Comment options

Answer selected by ShreckYe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants