crypto

v1.0.4Official Ecosystem Package

Cryptographic primitives including SHA-256, HMAC, AES-256-GCM, and secure random byte generation.

74.1Ktotal downloads
License:Apache-2.0
Author:Security Working Group
Published:Oct 6, 2026
Category:crypto

crypto for SP Language

Cryptographic hashing and encryption primitives.

# Example

sp
import std.io;
import crypto;

fn main() -> void {
    let hash = crypto.sha256("Secret Message");
    println("SHA-256 digest: ${hash}");
}

Install Package

$spm add crypto

Package Details

Version:v1.0.4
License:Apache-2.0
Total Downloads:74.1K
Published:Oct 6, 2026
SPM Min Version:>= 1.0.0
Checksum:SHA-256
Author:Security Working Group
Quick SPM command

Run inside any SP project directory:

spm add crypto