Name
sha1_digest — returns string containing sha1 digest encoded in base64
Synopsis
sha1_digest
(
|
in
str
varchar
) ; |
Description
Returns string containing sha1 digest encoded in base64. This function has an alias: xenc_sha1_digest ().
Parameters
str
A varchar value.
Return Values
sha1_digest
returns a
varchar
containing sha1 digest encoded in base64.
Examples
Example 24.223. Simple Example
Base64-encode a string
SQL> select sha1_digest('demodemo'); callret VARCHAR _______________________________________________________________________________ WGPZ5MvfUi6qYuB0f86xxbJJuhM= 1 Rows. -- 25 msec.