SHA512ComputeHash, SHA256ComputeHash and BitConverterToString
No edit summary
No edit summary
Line 1: Line 1:
As described on [[SysSingleton GetSystemUrl|GetSystemUrl]] you can use a few predefined methods exposed on SysSingleton.
As described on [[SysSingleton GetSystemUrl|GetSystemUrl]], you can use a few predefined methods exposed on SysSingleton.


These method are implemented in Turnkey to allow for common things without the need to use CodeDress (that will work around anything)
These methods are implemented in Turnkey to allow for common things without needing to use CodeDress (that will work around anything).
  BitConverterToString(bytes:Blob):String  - given a byte array will return string like 01-A0-FF... for the bytes
  BitConverterToString(bytes:Blob):String  - given a byte array will return string like 01-A0-FF... for the bytes



Revision as of 10:13, 15 February 2023

As described on GetSystemUrl, you can use a few predefined methods exposed on SysSingleton.

These methods are implemented in Turnkey to allow for common things without needing to use CodeDress (that will work around anything).

BitConverterToString(bytes:Blob):String  - given a byte array will return string like 01-A0-FF... for the bytes
SHA512ComputeHash(bytes:Blob):Blob - given a byte array will return SHA512 checksum in bytes
SHA256ComputeHash(bytes:Blob):Blob - given a byte array will return SHA256 checksum in bytes
x
This page was edited 96 days ago on 02/10/2024. What links here