toInteger package:cryptonite

Convert an elliptic curve scalar to an integer
Convert a point to (x,y) Integers
Convert from a P256 Scalar to an Integer
Get integers (R, S) from a signature. The values can then be used to encode the signature to binary with ASN.1.
Convert a Seed to an integer