Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 876 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 876 Bytes

Build Status Coverage Status MIT license

Crypto wrap for vigcoin

  1. you can have a lot of types
import {
  CNCheckHash,
  CNFashHash,
  CNSlowHash,
  CryptoHash,
  CryptonoteDifficulty,
  CryptoSignature,
  HASH_LENGTH,
  IHash,
  IKey,
  IKeyDerivation,
  IKeyImage,
  IPrivateKey,
  IPublicKey,
  ISignature,
  IsPublicKey,
  NULL_HASH,
  SIGNATURE_LENGTH
} from "../src/types";
  1. you can hash a message with fast hash
import { Hash } from "../src/hash";
Hash.from(Buffer.from("Hello world!"))