Add encrypted input support