Learn matrices encryption