About 6,380,000 results
Open links in new tab
  1. JavaScript string encryption and decryption? - Stack Overflow

    I'm interested in building a small app for personal use that will encrypt and decrypt information on the client side using JavaScript. The encrypted information will be stored in a database on a s...

  2. JavaScript AES encryption - Stack Overflow

    Apr 27, 2009 · This post is now old, but the crypto-js, may be now the most complete javascript encryption library. CryptoJS is a collection of cryptographic algorithms implemented in JavaScript. It includes the following cyphers: AES-128, AES-192, AES-256, DES, Triple DES, Rabbit, RC4, RC4Drop and hashers: MD5, RIPEMD-160, SHA-1, SHA-256, SHA-512, SHA-3 with ...

  3. javascript - How can I hash a string with SHA256? - Stack Overflow

    Jan 17, 2020 · I'm looking to get a SHA256 hash in JavaScript, on Google Chrome 79.0.3945.130 (64-bit). I've been looking around thinking there would be some sort of official library or function, but all I found were loads of different projects, each with different scripts, and I'm not so sure scripts to trust (as I'm not an expert and definitely not ...

  4. encryption - Encrypt/decrypt string n JavaScript - Stack Overflow

    Sep 3, 2022 · Please note that the below code is for demonstration purposes only and more complex encryption algorithms and more secure key management schemes should be used in real-world applications. In addition, since the Crypto API needs to run in HTTPS or local environment, the above code cannot run in a normal HTTP environment.

  5. Simple JavaScript encryption & decryption without using key

    Dec 14, 2017 · Simple JavaScript encryption function. 1. encryption in javascript and decryption in java. 1.

  6. encryption - Javascript - Best way to encrypt data with password ...

    Apr 25, 2011 · I'd recommend using AES encryption in your JavaScript code. See Javascript AES encryption for libraries and links. The trouble you'll have is picking a key that is only available on the client side. Perhaps you can prompt the user? Or hash together some client system information that's not sent to the server.

  7. encryption - Using native javascript / subtleCrypto to encrypt …

    Jul 18, 2020 · The Web Crypto API provides the SubtleCrypto.importKey() method for the import of keys, which supports various key formats, in particular the PKCS#8 format (ASN.1 DER encoding of the PrivateKeyInfo structure, see RFC5208 sec 5) for private keys and the X.509 format (ASN.1 DER encoding of SubjectPublicKeyInfo structure, or SPKI for short, see …

  8. How to encrypt or decrypt string in javascript - Stack Overflow

    May 21, 2018 · I want to encrypt and decrypt string in javascript using following code.But i got crypto js is not defined. var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase"); var decrypted =

  9. Encrypting and decrypting with DES and Base64 with JavaScript

    @ArtjomB. I tried to put it as an empy IV. In java language I initialize it with new byte[8], I tried to do the same thing in JavaScript. (Empty or zeroIV): IvParameterSpec zeroIv = new IvParameterSpec(new byte[8]); –

  10. RSA Encryption Javascript - Stack Overflow

    Also @whitedeath - can you clarify whether it implemented PKCS#1 v1.5 (which is understand is easily attackable since 1998) or PKCS#1 v2.2 (RSA with Optimal Asymmetric Encryption Padding). For those reasons and ease of use i went with forge, which also is a pretty active project on github.

Refresh