encode method

String encode()

Implementation

String encode() {
  return encodeToIndex(key);
}