(len int)
| 126 | } |
| 127 | |
| 128 | func makeNonce(len int) []byte { |
| 129 | result := make([]byte, len) |
| 130 | _, err := rand.Read(result) |
| 131 | if err != nil { |
| 132 | panic(err) |
| 133 | } |
| 134 | return result |
| 135 | } |
| 136 | |
| 137 | func IdOperation(op Operation, base *OpBase) entity.Id { |
| 138 | if base.id == "" { |