Attribute based encryption made practical