Enforce first four bits are zero for all spending keys and phi.
This commit is contained in:
@@ -13,7 +13,7 @@ ViewingKey SpendingKey::viewing_key() {
|
||||
}
|
||||
|
||||
SpendingKey SpendingKey::random() {
|
||||
return SpendingKey(random_uint256());
|
||||
return SpendingKey(random_uint252());
|
||||
}
|
||||
|
||||
PaymentAddress SpendingKey::address() {
|
||||
|
||||
Reference in New Issue
Block a user