mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-21 22:28:46 -04:00
Add Hmac to encrypted object, refactor crypto code (WIP)
This commit is contained in:
parent
4604e9c0bd
commit
4883c90030
33 changed files with 783 additions and 443 deletions
|
@ -1,6 +1,9 @@
|
|||
package io.bitsquare.p2p.seed;
|
||||
|
||||
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.Security;
|
||||
|
||||
public class SeedNodeMain {
|
||||
|
||||
|
@ -8,6 +11,8 @@ public class SeedNodeMain {
|
|||
// eg. 4444 true localhost:7777 localhost:8888
|
||||
// To stop enter: q
|
||||
public static void main(String[] args) throws NoSuchAlgorithmException {
|
||||
Security.addProvider(new BouncyCastleProvider());
|
||||
|
||||
SeedNode seedNode = new SeedNode();
|
||||
seedNode.processArgs(args);
|
||||
seedNode.createAndStartP2PService();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue