From d3e58d880ad247e81f7fdee9198ba7befbc887a3 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 29 Sep 2025 09:57:54 +0200 Subject: [PATCH] Just a typo fix. (0.12.2) --- CMakeLists.txt | 2 +- lib/crypt/sha256.fun | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96e1abe..d3d193d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ 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_REQUIRED ON) diff --git a/lib/crypt/sha256.fun b/lib/crypt/sha256.fun index 30d4164..2ec7ad5 100644 --- a/lib/crypt/sha256.fun +++ b/lib/crypt/sha256.fun @@ -312,7 +312,7 @@ class SHA256() i = i + 1 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) bytes = this.string_to_bytes_ascii(str) digest = this.sha256_bytes(bytes)