Monday, May 20, 2019

nlapiEncrypt Returns a Different Hash Compared to SHA1 Generators on the Web

NetSuite Help Guide briefly discussed nlapiEncrypt API. It mentions that nlapiEncrypt API encrypts a clear text String using a SHA-1 hash function. This is the same encryption used for password fields.

But it was not mentioned that the SHA-1 implementation by NetSuite is a proprietary version of SHA-1. That is the reason why the hash results of nlapiEncrypt API is different from other SHA-1 generators on the web using the standard SHA-1 implementation.

No comments:

Post a Comment