crypto/ps1: Convert to Python bytearray.