Implemented key deriver.