cleaned up RS256 implementation.  no functional changes