encode method

List<int> encode(
String input
)