()
| 54 | } |
| 55 | |
| 56 | func randomPhoneNumber() string { |
| 57 | n, err := rand.Int(rand.Reader, big.NewInt(10000)) |
| 58 | if err != nil { |
| 59 | return "+18005550000" |
| 60 | } |
| 61 | |
| 62 | return fmt.Sprintf("+1800555%04d", n.Int64()) |
| 63 | } |
| 64 | |
| 65 | func randomEncryptionKey() string { |
| 66 | b := make([]byte, 16) |
no outgoing calls
no test coverage detected