Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

against hacker or expert. The data is always masked in frontend, the data will only be revealed in browser, when user requires to see the data. In the same time, the data can be sent to server for processing, as the data is always masked in frontend, it won't cause any security breach. #### Decryption logic When user clicks the reveal button, the data will be revealed. The logic consists of two parts as well. ##### Part 1 The passphrase is retrieved from server through JSONP call. ```javascript // define server passphrase JSONP path var passphrase_url = "http://localhost:3000/crypto/passphrase?callback=?"; // JSONP AJAX call to node.js server running on localhost:3000 $.getJSON(passphrase_url, function(data){ // retrieve passphrase var passphrase = data.passphrase; console.log("passphrase: "); console.log(passphrase); }); ``` ##### Part 2 The data is decrypted in browser side. ```javascript // retrieve masked data var encrypted_json_str = $("#data_store").text(); // decipher the masked data var decrypted = CryptoJS.AES.decrypt(encrypted_json_str, passphrase, { format: JsonFormatter }); // convert to Utf-8 encoded string var decrypted_utf

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

chengxianga2008's profile
chengxianga2008
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
chengxianga2008

chengxianga2008/node-cryptojs-aes

Standalone cryptographic library. A minimalist port of cryptojs javascript library to node.js, that supports AES symmetric key cryptography. Unlike node.js native crypto library, node-cryptojs-aes removes openssl dependency. node-cryptojs-aes works great on frontend data masking and unmasking.

JavaScript
49
8
No license