All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.weavechain.core.encrypt.Seed Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package com.weavechain.core.encrypt;

import java.security.SecureRandom;

public class Seed {

    public static final String PUBLIC_CHAIN_SEED = "f2fbff18252909d2a5ade53820dd7941";

    public static final String TEST_CHAIN_SEED = "9efd86b97699a7794b99766e03794b5c";

    public static byte[] generate() {
        return generate(16);
    }

    public static byte[] generate(int bytes) {
        return new SecureRandom().generateSeed(bytes);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy