DEV Community

loading...

Discussion on: PHP 7.2: The First Programming Language to Add Modern Cryptography to its Standard Library

Collapse
philippgruber profile image
Philipp Gruber

I quite like this, but couldn't they come up with a better function name than
sodium_crypto_box_keypair_from_secretkey_and_publickey()?

Collapse
bcalik profile image
Burak Çalık

Wow, this is probably the longest function name ever.

Collapse
inkeliz profile image
Inkeliz

I agree, this function name is so short, can be longer. :P

Collapse
my1 profile image
My1

does it REALLY need to be that long?
I mean sodium_dh_create() would work too.

Collapse
hengels profile image
Harald Engels

The long function name was probably chosen to increase security by obscurity (joking) :-)