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...
In order to write an simple nodejs app talking to an server written in java I have to implement the following functionality for nodejs.  public class Crypto {   Cipher decipher;    byte[] salt = {       (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0...
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'm currently learning about encryption and password safety in NodeJS. I'm working with a current example that currently is using PBKDF2, I'd like to switch this out to use SHA256 instead. Is this possible and/or make sense? How would I g...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.