I'd imagine very few people know how to make the key bin from scratch. Probably same people that create the firmware. Best you can get is how to edit existing file and keys to it.
you can use this program its vary easy But does not include all encryption systems such as biss and dcw But the beginning of a any person wants to learn the work of the keys is good