Skip to content
Morard Dany edited this page May 14, 2018 · 2 revisions

Overview

SHA2 for Secure Hash Algorithm is a family of cryptographic hash functions. SHA2 is composed of six hash functions : SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256.

SHA2

Core available

Spinal Interface

Measure

Core Target Performance Aera RAM
*_Std Altera Cyclone V (C6) - - -

Example

import spinal.crypto.hash.sha2._

val core = new SHA2Core_Std(SHA2_256) // SHA2_224, SHA2_256, SHA2_384, SHA2_512, SHA2_512_224, SHA2_512_256