github.com/turingchain2020/turingchain@v1.1.21/system/crypto/init/init.go (about)

     1  // Copyright Turing Corp. 2018 All Rights Reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package init 初始化系统加密包
     6  package init
     7  
     8  //系统级别的签名定义
     9  //为了安全考虑,默认情况下,我们希望只定义合约内部的签名,系统级别的签名对所有的合约都有效
    10  import (
    11  	//初始化
    12  	_ "github.com/turingchain2020/turingchain/system/crypto/ed25519"
    13  	_ "github.com/turingchain2020/turingchain/system/crypto/none"
    14  	_ "github.com/turingchain2020/turingchain/system/crypto/secp256k1"
    15  	_ "github.com/turingchain2020/turingchain/system/crypto/secp256r1"
    16  	_ "github.com/turingchain2020/turingchain/system/crypto/sm2"
    17  )