add SHAREDKEY encoding, with test