changed RC4::prga to return uint8_t