In section Cryptocurrency

Solana activates SHA-512 upgrade to lower verification costs

Solana’s SIMD-0512 upgrade went live on mainnet at epoch 1103, giving applications a native SHA-512 hashing function. Anza says it can process short messages for fewer than 100 compute units, reducing the cost of cryptographic work that developers previously had to implement in software.

Announced by Solana development team Anza on December 2, the change adds the sol_sha512 system call. It uses the same interface as Solana’s existing SHA-256 call but returns a 64-byte digest rather than 32 bytes. The proposal was submitted on April 3 by Blueshift developer Dean Little.

Previously, applications needing SHA-512 had to run a software implementation in Solana’s BPF environment, using thousands of compute units (CUs). CUs measure the resources required to execute instructions; spending fewer on hashing leaves more of a transaction’s execution budget for other operations. Applications that do not use SHA-512 are unaffected, and existing network hashing functions remain unchanged.

The upgrade can also lower the cost of verifying Ed25519 signatures, which Solana uses to authenticate transactions. Combined with existing Curve25519 system calls, on-chain verification can run for fewer than 5,000 CUs, Anza said.

In September 18 tests, an experimental verifier used 3,742 CUs for a signature attached to a 38-byte message and 4,235 CUs for a 1,024-byte message. Across 32 benchmark cases, it averaged 3,808.78 CUs; a stricter configuration averaged 3,822.16. In a separate comparison under equivalent strict criteria, it used 3,757 CUs, compared with 4,853 for version 0.9.3 of the Brine Ed25519 library—a 22.6% reduction. The tests measured computational resource use in a controlled environment, not transaction execution times on mainnet.

Potential uses include smart contract wallets, bridges and financial protocols that authenticate externally signed messages. Some zero-knowledge applications may also benefit when their verification specifically requires SHA-512; the upgrade does not speed up every kind of proof. Anza said the experimental program supports cross-program invocation and could help pave the way to retiring Solana’s existing Ed25519 precompile.

Anza is also preparing other changes. Its tracker lists SIMD-0599, which removes inactive stakes from delegation calculations, and SIMD-0437-3, which would lower account storage requirements to 2,575 lamports per byte. SIMD-0433 would adjust the sizing of deployed program data. Anza’s November 30 schedule gives December 7 as the tentative date to recommend general mainnet adoption of Agave 4.5; activation of features tied to that release is expected to begin December 14. Those features include native secp256r1 operations, optimized associated token accounts and changes to inflation calculations.

Share:on TelegramXFacebook

Subscribe to our newsletter

Once a week — the best stories from our editors, no ads or push notifications. Delivered Sunday morning.

Comments (0)

Leave a comment

No comments yet. Be the first!