会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
铸剑非攻
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2022年5月4日
json.unmarshal() 返回nil空值
摘要: https://stackoverflow.com/questions/28264343/json-unmarshal-return-nil
阅读全文
posted @ 2022-05-04 22:19 铸剑非攻
阅读(137)
评论(0)
推荐(0)
2022年5月2日
go string转byte array乱码
摘要:
阅读全文
posted @ 2022-05-02 23:37 铸剑非攻
阅读(80)
评论(0)
推荐(0)
Go module 导入本地包
摘要: https://zhuanlan.zhihu.com/p/109828249
阅读全文
posted @ 2022-05-02 23:36 铸剑非攻
阅读(16)
评论(0)
推荐(0)
Ubuntu安装charm-crypto
摘要: https://itcn.blog/p/1648461309475448.html
阅读全文
posted @ 2022-05-02 23:27 铸剑非攻
阅读(63)
评论(0)
推荐(0)
Ubuntu安装Openssl
摘要: sudo apt-get install openssl sudo apt-get install libssl-dev https://www.jianshu.com/p/e2f57b224c84
阅读全文
posted @ 2022-05-02 23:26 铸剑非攻
阅读(710)
评论(0)
推荐(0)
2022年4月29日
ElGamal encryption and EIGamal-based proxy re-encryption
摘要: https://asecuritysite.com/elgamal/go_elgamal https://www.youtube.com/watch?v=DRgeuJl86uY&ab_channel=BillBuchananOBE https://www.youtube.com/watch?v=Ex
阅读全文
posted @ 2022-04-29 20:56 铸剑非攻
阅读(40)
评论(0)
推荐(0)
2022年4月27日
Go struct和byte相互转换
摘要: package main import ( "bytes" "compress/gzip" "encoding/gob" "fmt" "io/ioutil" "log" "os") type Person struct { Name string Address Address} type Addr
阅读全文
posted @ 2022-04-27 23:35 铸剑非攻
阅读(542)
评论(0)
推荐(0)
Hyperledger Fabric: Error: could not assemble transaction: ProposalResponsePayloads do not match
摘要: 自己这里的情况是在chaincode里用了加密,AES RSA等有随机数,每次对同一message加密结果会不一样(为了更加安全)。而hyperledger fabric里每个peer会执行一下chaincode,导致得到的结果不同,不deterministic,就导致proposal respon
阅读全文
posted @ 2022-04-27 23:23 铸剑非攻
阅读(282)
评论(0)
推荐(0)
Go错误:json unmarshal invalid character '\n' in string literal
摘要: 加一个\ https://stackoverflow.com/questions/38977555/error-embedding-n-into-a-string-literal https://stackoverflow.com/questions/56522226/golang-json-unm
阅读全文
posted @ 2022-04-27 23:18 铸剑非攻
阅读(2060)
评论(0)
推荐(0)
Hyperledger Fabric chaincode GetState返回空值
摘要: 可能原因: 1. struct的字段首字母没有大写。用json转换的话首字母都要大写。 2. 不同smart contract function分布在了不同文件夹。一个smart contract对应一个database,不同function要都写在同一个go文件里。 https://stackov
阅读全文
posted @ 2022-04-27 23:16 铸剑非攻
阅读(71)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告