How do I generate cryptographically secure random numbers in javascript?...
We are using bcrypt for passwords and data that never needs to be decrypted.   What should do to protect other user information that does. For this example lets say that we didn't want a users real name to be in plain text in case someone was to...
This is really embarassing  on virtually any site on the internet,   window.crypto.subtle   returns  SubtleCrypto {}   __proto__: SubtleCrypto   in the chrome console (v61 (Official Build) (64-bit))  except for   my webpage, and blank.org  where   wi...
I am creating a re-director of sorts in nodejs. I have a few values like  userid // superid  these I would like to hash to prevent users from retrieving the url and faking someone else's url and also base64 encode to minimize the length of the ur...
I am looking at a way to do client-side cryptography in Javascript (keeping http://www.matasano.com/articles/javascript-cryptography/ in mind) and have found SJCL. But I seem unable to find good code examples for it. Any pointers?...
I am trying to use RSA encryption in JavaScript and then decrypt it in C#. In JavaScript I am using the library jsencrypt. In  C# I using the API "bouncy castle". When I do the encryption/decryption within the same language everything works....
I am attempting to use the Stanford Javascript Crypto Library to generate an CMAC-AES token for an OAuth 2.0 assertion, but I'm far from being an expert with cryptography. Can someone give an example using sjcl or any open-license js library out...
In trying to understand the Node.js Crypto API, I have been trying to match code to the equivalent OpenSSL enc command line (line breaks inserted for readability) which is piped through xxd for hex display.  $ echo -n "The quick brown fox jumps o...
I am working with the keybase.io API - trying to drive it from javascript.  Logging in is a two step process.  The second step is detailed at https://keybase.io/docs/api/1.0/call/login.  I am stuck on the following;     The server and the client shar...
I am currently having issues with decrypting items in C# that have been encrypted in CryptoJS using keys that are not of length 128, 192, or 256 bits. CryptoJS allows keys of 'odd' lengths to be used during encryption/decryption, but the symm...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.