vapor / open-crypto

🔑 Hashing (BCrypt, SHA2, HMAC), encryption (AES), public-key (RSA), and random data generation.
MIT License
134 stars 34 forks source link

Added guard for invalid cost #58

Closed bre7 closed 6 years ago

bre7 commented 6 years ago

Related to #57

Thanks @mcdappdev

bre7 commented 6 years ago

Not sure why there's no max #define macro (even if 31 isn't actually real)