Skip to content

Research use of native Web Crypto API #237

@0x009922

Description

@0x009922

Currently crypto utilities in @iroha/core are relying on a WebAssembly port of iroha_crypto crate. While it works fine, it is hard to make it work in all environments uniformly (e.g. browser vs server-side).

Maybe, Web Crypto API could handle all of the cases?

API Support
Hash Nope. Web Crypto doesn't support Blake2b. However, hash-wasm provides a tiny 6kb wasm with its implementation.
todo todo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions