Written by

IT Senior Consultant & Systems Arquitect at Services, Internet & Consulting
Question Hansel Rudy Stange Gaete · Aug 29, 2019

Unidirectional Encryption String Recommendations ?

I need use/create an app based authentication class, best options on other languages is bcrypt, but on cache(2017.2) is not and option, any suggestion to construct this option ?

Comments

Rubens Silva · Aug 29, 2019

If you don't want to hook Caché with another language using Caché Bindings, you should use PBKDF2 with SHA256. Otherwise you'll need some external implementation to use bcrypt.

write $System.Encryption.PBKDF2("secret", 15000, $System.Encryption.GenCryptRand(64), 64, 256)

Although IS should really implement bcrypt and Argon with native support.

0