Issue #3: include fte.encrypt call within fte.encode call