use digest for assets