Skip to content

fix bcrypt algo - #19569

Merged
spytheman merged 5 commits into
vlang:masterfrom
sibkod:master
Oct 16, 2023
Merged

spytheman merged 5 commits into
vlang:masterfrom
sibkod:master

Conversation

@sibkod

@sibkod sibkod commented Oct 15, 2023

Copy link
Copy Markdown
Contributor

#19558

Fix this issue

@medvednikov

Copy link
Copy Markdown
Member
FAIL  [ 506/3007]     4.362 ms vlib/crypto/bcrypt/bcrypt_test.v
/__w/v/v/vlib/crypto/bcrypt/bcrypt_test.v is not vfmt'ed

@danieldaeschle

Copy link
Copy Markdown
Member

Why don't you use the internal b64 encode/decode anymore?

@sibkod

sibkod commented Oct 16, 2023

Copy link
Copy Markdown
Contributor Author

Why don't you use the internal b64 encode/decode anymore?

Bcrypt uses the alphabet "./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" , I did not find a way to use this alphabet without changing base64, so I decided to do it using separate methods

@spytheman

Copy link
Copy Markdown
Contributor

Excellent work.

@spytheman
spytheman merged commit 25777bd into vlang:master Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants