Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 147

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 146
139
roHashGenerator
This object provides an API for generating a variety of message digests.
Object Creation: The hash algorithm is specified when creating the roHashGenerator object.
CreateObject("roHashGenerator", algorithm As String)
The algorithm parameter accepts the following strings:
SHA256
SHA384
SHA512
SHA1
MD5
CRC32
Note: CRC32 is only available on firmware versions 4.4.x or later.
Interfaces: ifHashGenerator
The ifHashGenerator interface provides the following:
Hash(obj As Object) As Object: Hashes the payload, which can be supplied in the form of a string (or any
object implementing ifString) or an roByteArray. The hash is returned as an roByteArray.
SetHmacKey(a As Dynamic) As Boolean:
SetObfuscatedHmacKey(a As String) As Boolean:
GetFailureReason() As String:
Zobrazit stránku 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 340 341

Komentáře k této Příručce

Žádné komentáře