Our project is using asymmetric encryption with nacl.box and ephemeral keys: We presently have node.js apps that then decrypt these messages. We would like the option to use jvm languages for some features. There does not seem to be the richness of established players for tweet-nacl on the jvm but it seems tweetnacl-java https://github.com/InstantWebP2P/tweetnacl-java and its recommended implementation ° tweetnacl-fast
Tag: encryption
What security threats when using a crypto library without https?
I’m playing with JavaScript and I know that webcrypto API is not available without https but I want encipherment capability between a web server on LAN and a browser. Using https with a self signed certificate will display a ugly warning message to the user that makes it unsuitable for my use case. I’ve also tried to embedded an iframe
Key Management: Hardcoded Encryption Key for chart.js
I facing issue related to “Key Management: Hardcoded Encryption Key” for chart.js api. We are using Fortify Scanning for security purpose. How to avoid the ‘Hardcoded Encryption Key’. After scanning we found the line of code that is hardcoded in chart.js. Is there any way to resolve this issue. Answer After analysed the chart.js code file, we have found there
Problem with caesar cipher shift javascript
For a school project, I’m trying to create a website on encryption methods, but right now I have a problem with my Caesar one. I checked so many times but I can’t find out where is the problem in my code. I think the shift is what is wrong, but I don’t know what I could change to make it
JavaScript AES encryption and decryption (Advanced Encryption Standard)
How to implement encryption and decryption using AES (Advanced Encryption Standard) in JavaScript. Why AES (Advanced Encryption Standard) ? Security: Competing algorithms were to be judged on their ability to resist attack, as compared to other submitted ciphers, though security strength was to be considered the most important factor in the competition. Cost: Intended to be released under a global,
How can I use publicExponent as 65537 in RSA-OAEP algorithm in JavaScript?
Actually, I am using RSA-OAEP with SHA-256ANDMGF1PADDING for encryption and decryption in JavaScript using Web crypto API. The actual scenario I need to do is in java I am able to encrypt and decrypt using a public and private key with the same algorithm specifications. but there it uses a 65537 public exponent .now what I need to do is
Encrypt HTML Source code with JAVASCRIPT. How does it work?
i was checking if it is possible to actually encrypt html code or not. I found a place where they encrypt the HTML code in Javascript. I wonder how does it work or in what format can anyone please tell me ?? Actual code The encrypted HTML CODE You can try running in their file. It works with out any
Crypto.js decrypt with key and iv (vector) in byte arrays
I have to decrypt some strings which are AES encrypted. Example encrypted string: 129212143036071008133136215105140171136216244116 I have a key, and a vector (iv) supplied to me in a byte-array format: Key: [ 123, 217, 20, 11, 24, 26, 85, 45, 114, 184, 27, 162, 37, 115, 222, 209, 241, 24, 175, 144, 175, 53, 196, 29, 24, 23, 17, 218, 131,
RSA Encryption Javascript
Can anyone please help me with this – I have been instructed to write an application that takes some data then encrypts it with an RSA public key. It apparently needs to be “RSA encryption” (I have never heard or seen this before?) Which encryption cipher is RSA meant to use as standard? Answer Never mind found the answer myself!
How to encrypt data that needs to be decrypted in node.js?
We are using bcrypt for hashing passwords and data that never needs to be decrypted. What should we do to protect other user information that does need to be decrypted? For example, let’s say that we didn’t want a user’s real name to be in plain text in case someone was to obtain access to the database. This is somewhat