def publickey_unsafe(sk):
h = H(sk)<EOL>a = <NUM_LIT:2> ** (b - <NUM_LIT:2>) + sum(<NUM_LIT:2> ** i * bit(h, i) for i in range(<NUM_LIT:3>, b - <NUM_LIT:2>))<EOL>A = scalarmult_B(a)<EOL>return encodepoint(A)<EOL>
Not safe to use with secret keys or secret data.

See module docstring.  This function should be used for testing only.