[−][src]Function monero::cryptonote::subaddress::get_public_keys
pub fn get_public_keys(keys: &ViewPair, index: Index) -> (PublicKey, PublicKey)
Compute the view public key and spend public key (V', S')
at index i
from view pair (v, S)
where V' = v*S'
and S' = mG + S
If index is equal to zero return (v, S)
as (V', S')