Can You Factory Reset An Encrypted Phone?

Does factory reset remove encryption?

.