Implemented getKeyLength()