Just a typo fix. (0.12.2)
This commit is contained in:
parent
348db0bead
commit
d3e58d880a
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(fun VERSION 0.12.1 LANGUAGES C)
|
project(fun VERSION 0.12.2 LANGUAGES C)
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||||
|
|
|
||||||
|
|
@ -312,7 +312,7 @@ class SHA256()
|
||||||
i = i + 1
|
i = i + 1
|
||||||
return out
|
return out
|
||||||
|
|
||||||
// Hash raw string bytes (printable ASCII). Example: sha512_str("616263") -> ee2109...
|
// Hash raw string bytes (printable ASCII). Example: sha256_str("616263") -> ee2109...
|
||||||
fun sha256_str(this, str)
|
fun sha256_str(this, str)
|
||||||
bytes = this.string_to_bytes_ascii(str)
|
bytes = this.string_to_bytes_ascii(str)
|
||||||
digest = this.sha256_bytes(bytes)
|
digest = this.sha256_bytes(bytes)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue