Crypto for client-side

Would it be possible to add some Crypto formatting, something like the crypto.js library, to the client-side data-pickers?

You could use custom formatters for that if you are currently blocked.

I have sha1 implemented like that.

Not that you should use client side crypto for real security of course. I use it just to obfuscate some strings where I want to compare the hashes.

Thanks @JonL,
Have you seen a guide for creating custom formatters? I can’t see anything from a quick search. At the moment I am creating JS functions and applying using flow/run JS - native options, or at least custom options available to data pickers, would be ideal.

Amongst other things, I don’t like sending plain passwords to registration/login SC so hash them before transmission. Agreed, the main crypto is still handled server-side though. Loving that Argon support has been added!

Pretty simple. But it won’t be available in the picker. You will need to add the call to the formatter in code.

This was just a suggestion in case you are blocked. Your feature request still stands.

1 Like