Aim\ The encryption and decode of EDBMS is designed. Methods\ Some ways of the encryption and decode of database is discussed. The design and implementation of an algorithm of encryption and decode are explained in detail. Results\ The programming for the encryption and decode of database is designed. Conclusion\ The designing method is feasible.