Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Nissan Connect API encryption using Javascript
<script src=""></script>
var password = 'a';
var key = 'uyI5Dj9g8VCOFDnBRUbr3g';
var encrypted_password = blowfish.encrypt(password, key, {cipherMode: 0, outputType: 0});
console.log("Encrypted password: " + encrypted_password);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment