computation struct&&crypto