I am working on a web application which must be able to encrypt data with ECC on the server side and decrypt it in the browser. The only library I have found that is capable of this in JS is SJCL. However, since ECC support in SJCL seems a bit abando...
I've a very small code in nodejs where I sign a string and then try to verify it, using node crypto and key pairs generated with openssl. No matter what I try, the result is always "false", the signature can't be verified.   Generatio...
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...
Below is my Node.js code. Using the code results in:     Error: 0:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:794   Here is the code:  var express = require('express')       , fs = require("f...
Node.js sends the TLS_EMPTY_RENEGOTIATION_INFO_SCSV cipher by default to protect itself against the POODLE attack.  I'm trying to avoid sending this cipher (even though this may pose a security risk) by overriding the TLS ciphers with a custom li...
I know, it looks strange, but I need to sign some data on client-side using javascript only, no ajax backdoor to server-side openssl available. Could someone suggest some client-side solution to sign data using private key? Is it possible?  Thanks....
I am using (this site's) Javascript library and OpenSSL Ruby to compute the symmetric key of Elliptic Curve Diffie Hellman.   However, from my results, OpenSSL Ruby only generated one key unlike that on the site which has X and Y symmetric keys....
I'm building a Node.js ACMEv2 client and trying to rely only on a single cryptography library to keep the code simple. The native Node Crypto module does not support CSR, so I had to use Node-Forge. So far everything works but I'm having a ha...
I am using OpenSSL to encrypt a txt file, with "Hello World" inside, using the following command at the terminal:  openssl enc -aes-128-ctr -in file.txt -out file-out-64.txt -base64 -A -K 0123456789abcdef0123456789abcdef -iv 00000000000000000...
I'm using node's crypto signatures for a project, and have been trying to consider the ups and downs of various algorithms. The description of crypto.createSign() reads as the following:     Creates and returns a Sign object that uses the giv...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.