SHA

description

使用SHA1算法对信息进行摘要处理。

Syntax

SHA(str) 或 SHA1(str)

Arguments

  • str: 待加密的内容

example

1. mysql> select sha("123");
2. +------------------------------------------+
3. | sha1('123')                              |
4. +------------------------------------------+
5. | 40bd001563085fc35165329ea1ff5c5ecbdbbeef |
6. +------------------------------------------+
7. 1 row in set (0.13 sec)

keywords

1. SHA,SHA1