Questions tagged [sjcl]

The Stanford Javascript Crypto Library is a project by the Stanford Computer Security Lab to build a secure, powerful, fast, small, easy-to-use, cross-browser library for cryptography in Javascript.

The Stanford Javascript Crypto Library is a project by the Stanford Computer Security Lab to build a secure, powerful, fast, small, easy-to-use, cross-browser library for cryptography in Javascript.

Project home page

79 questions
0
votes
2 answers

Encryption compatibility between SJCL and java Bouncy Castle RSA

I am working on an android application using RSA encryption. I can get from my server, my private key and my friends public key. Private key are like this: {"n":"...","d":"...","p":"...","q":"...","dmp1":"...","dmq1":"...","coeff":"..."} (jsbn json…
Urriel
  • 11
  • 1
  • 5
0
votes
1 answer

SJCL encryption results wrong file size

I have successfully implemented Rob Napier's AES encryption method for iOS in one of my apps. I would now like to be able to encrypt and decrypt files from that app with my JavaScript implementation. I am using FileReader to get a local from from…
freshking
  • 1,824
  • 18
  • 31
0
votes
1 answer

SJCL.js equivalent for ObjC

I am developing a client app for a RESTful web service. The web app uses the Stanford JS Crypto library for some client site cryptography and I would need to do that with the app too. But the SJCL library doesn't just AES256 crypt the data, it does…
miho
  • 11,765
  • 7
  • 42
  • 85
-1
votes
1 answer

What is right way doing aes gcm decription with sjcl.js?

I am trying to decrypt cipher content with sjcl.js crypto library in aes algorithm(gcm mode). This is my code: //encrypted data and key let key = "8mUzwnewfaBFKiGW/rO5Xw==" let cipherText…
1 2 3 4 5
6