@balaji Pointed out that encryption can be enabled in badger using the rotate tool. I wrote a test to confirm this Add a test for rotate tool by jarifibrahim · Pull Request #1343 · dgraph-io/badger · GitHub.
So the badger encryption blog can be updated to show that encryption can be enabled on an unencrypted DB using the rotate tool.