In Particular: JavaScript · 329 B
// * R: arbitrary-length big-endian encoded R value. It must use the shortest
// possible encoding for a positive integers (which means no null bytes at
// the start, except a single one when the next byte has its highest bit set).
// * S: arbitrary-length big-endian encoded S value. The same rules apply.