5 questions
0
votes
2
answers
217
views
MCrypt class use simcard serial number as SecretKey
How can I read the Simcard serial number and use the first 16 numbers
as a SecretKey
........
private String SecretKey = "0123456789abcdef";**//Read the Simcard serial number and use the first ...
1
vote
0
answers
198
views
Mcrypt PHP To Mcrypt JS Conversion
Is it possible to convert following php function which is using mcrypt standards to js using mcrypt lib.
function fnEncrypt($sValue, $sSecretKey)
{
return rtrim(
base64_encode(...
-1
votes
1
answer
2k
views
Decrypting Blowfish CBC in Javascript that has been encrypted with PHP mcrypt
I'm having a hard time trying to decrypt a String that has been encrypted with Blowfish CBC in PHP;
I'm working on the client side in Javascript with Node.js on a unit test written with Mocha.
I'm ...
1
vote
0
answers
147
views
Node.js Mcrypt Segmentation Fault
I am writing a node.js application where I use Mycrypt (https://www.npmjs.org/package/mcrypt) however I am getting a segmentation fault when I try to encrypt a string. I am running on CentOS. The code ...
6
votes
2
answers
8k
views
Mcrypt js encryption value is different than that produced by PHP mcrypt / Mcrypt JS decrypt doesn't work for UTF-8 chars
I have been trying to implement mcrypt encryption/ decryption technique on both server end, PHP and client end. I am trying to use mcrypt.js library at the moment as:
<?php
$key = '...