github.com/turingchain2020/turingchain@v1.1.21/wallet/keys.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 wallet
     6  
     7  const (
     8  	keyWalletPassKey = "WalletPassKey"
     9  )
    10  
    11  // CalcWalletPassKey 获取钱包密码的数据库字段Key值
    12  func CalcWalletPassKey() []byte {
    13  	return []byte(keyWalletPassKey)
    14  }