ElCanut@jlai.lu to Programmer Humor@programming.dev · 5 months agoDifferent philosophiesjlai.luimagemessage-square52fedilinkarrow-up1555arrow-down110
arrow-up1545arrow-down1imageDifferent philosophiesjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 5 months agomessage-square52fedilink
minus-squareBorgDrone@lemmy.onelinkfedilinkarrow-up2·4 months agoWhy even bother with things like strings for a salt? I would expect it to just take a byte array. Just create some random bytes and provide that.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up2·4 months agoYeah, that’s my thinking, too. But the library only takes b64.
Why even bother with things like strings for a salt? I would expect it to just take a byte array. Just create some random bytes and provide that.
Yeah, that’s my thinking, too. But the library only takes b64.