# BLAKE3Unity **Repository Path**: helpking/BLAKE3Unity ## Basic Information - **Project Name**: BLAKE3Unity - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-20 - **Last Updated**: 2025-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BLAKE3Unity BLAKE3 Unity native plugin based on Rust. BLAKE3 is crasy fast cryptographics hash function. see https://github.com/BLAKE3-team/BLAKE3 # Requirements * Rust * https://www.rust-lang.org/ # Install ``` # build plugins $ sh make_ios.sh $ sh make_android.sh $ sh make_macOS.sh # copy Plugins $ cp -ap Plugins/* /your/project/Assets/Plugins/ # copy C# binding $ cp unity-sample/Assets/Scripts/Bindings.cs /your/project/Assets/Scripts/ ``` # C# Sample ```csharp // simple var output = new byte[Hasher.OUTPUT_SIZE]; Hasher.Calc(input_bytes, output); // stream using(var hasher = Hasher.Create()){ hasher.Update(input_bytes1); hasher.Update(input_bytes2); hasher.Finalize(output); } ``` # TODO * (DONE)Windows Support * (DONE)IntPtr IF(C#)