Skip to main content

Hashing

Trait Hashing 

Source
trait Hashing {
    // Required method
    fn keccak_256_version_1(
        data: <PassFatPointerAndRead<&[u8]> as RIType>::Inner,
    ) -> <AllocateAndReturnPointer<[u8; 32], 32> as RIType>::Inner;
}

Required Methods§

Source

fn keccak_256_version_1( data: <PassFatPointerAndRead<&[u8]> as RIType>::Inner, ) -> <AllocateAndReturnPointer<[u8; 32], 32> as RIType>::Inner

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Hashing for &mut dyn Externalities

Available on non-substrate_runtime only.
Source§

fn keccak_256_version_1( data: <PassFatPointerAndRead<&[u8]> as RIType>::Inner, ) -> <AllocateAndReturnPointer<[u8; 32], 32> as RIType>::Inner

Implementors§