Moved Fifo.map() and Fifo.grep() into methods
Fixed some bugs in encryption function
Added Fifo.recursive()
Using default flags based on pkalgo for getKeyWithFlag()
Added parameter to get revoked or expired key with flag