#13 calculation for extended private key and one-time-key