deriveChildOvk method
SaplingOutgoingViewingKey
deriveChildOvk({
- required SaplingOutgoingViewingKey parentOvk,
- required List<
int> childSk,
Implementation
SaplingOutgoingViewingKey deriveChildOvk({
required SaplingOutgoingViewingKey parentOvk,
required List<int> childSk,
}) {
return SaplingOutgoingViewingKey(
PrfExpand.saplingZip32ChildOvk
.apply(childSk, data: [parentOvk.inner])
.sublist(0, 32),
);
}