About 6,370,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. 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.

  6. Simple JavaScript encryption & decryption without using key

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

  7. 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]); –

  8. 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 …

  9. 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 =

  10. How to generate an MD5 hash from a string in JavaScript/Node.js?

    How to generate a MD5 hash using Javascript/Node.js? I already have a fileVideo string and I need to generate a MD5 hash for the string. var fileVideo = "my string"; string md5 =

Refresh