Table 3.234. Exceptions thrown by DSS()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.236. Exceptions thrown by DSS_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.238. Exceptions thrown by DSS1()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.240. Exceptions thrown by DSS1()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.242. Exceptions thrown by MD2()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.244. Exceptions thrown by MD2_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.246. Exceptions thrown by MD4()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.248. Exceptions thrown by MD4_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.250. Exceptions thrown by MD5()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.252. Exceptions thrown by MD5_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.254. Exceptions thrown by MDC2()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Table 3.256. Exceptions thrown by MDC2_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Table 3.258. Exceptions thrown by RIPEMD160()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Returns the RIPEMD160 message digest of the supplied argument (for strings, the trailing null character is not included in the digest) as a binary object.
$str = RIPEMD160_bin("hello"); # returns "108f07b8382412612c048d07d13f814118445acd"
Table 3.260. Exceptions thrown by RIPEMD160_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.262. Exceptions thrown by SHA()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.264. Exceptions thrown by SHA_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.266. Exceptions thrown by SHA1()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Table 3.268. Exceptions thrown by SHA1_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
Returns the SHA224 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest. The availability of this function depends on the availability of the SHA224 algorithm in the openssl library used to compile the Qore library; for maximum portability check the constant HAVE_SHA224 before running this function. See Library Option Constants for a list of all option constants.
$str = SHA224("hello"); # "ea09ae9cc6768c50fcee903ed054556e5bfc8347907f12598aa24193"
Table 3.270. Exceptions thrown by SHA224()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA224 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$bin = SHA224_bin("hello");
# <ea09ae9cc6768c50fcee903ed054556e5bfc8347907f12598aa24193>
Table 3.272. Exceptions thrown by SHA224_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA256 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$str = SHA256("hello");
# "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
Table 3.274. Exceptions thrown by SHA256()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA256 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$bin = SHA256_bin("hello");
# <2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824>
Table 3.276. Exceptions thrown by SHA256_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA384 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$str = SHA384("hello");
# "59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f"
Table 3.278. Exceptions thrown by SHA384()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA384 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$bin = SHA384_bin("hello");
# <59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f>
Table 3.280. Exceptions thrown by SHA384_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA512 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$str = SHA512("hello");
# "9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043"
Table 3.282. Exceptions thrown by SHA512()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |
Returns the SHA512 message digest of the supplied argument as a string of hex characters. For string arguments, the trailing null character is not included in the digest.
$bin = SHA512_bin("hello");
# <9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043>
Table 3.284. Exceptions thrown by SHA512_bin()
|
err |
desc |
|---|---|
|
|
missing data parameter, invalid data parameter (expecing string or binary), error calculating digest |
| This exception is thrown when the function is not available; for maximum portability, check the constant |